package org.example.entity.article;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.example.entity.BaseEntity;

@Data
@TableName("tb_bank_title")
@ApiModel
public class ArticleEntity extends BaseEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 链接
     */
    @ApiModelProperty("链接")
    private String cover;
    /**
     * 标题
     */
    @ApiModelProperty("标题")
    private String title;
    /**
     * 摘要
     */
    @ApiModelProperty("摘要")
    private String digest;
    /**
     * 内容
     */
    @ApiModelProperty("内容")
    private String content;
}
